package com.gin.kotlin.no_gay_alliance.runner

import com.gin.kotlin.no_gay_alliance.app.App
import com.gin.kotlin.no_gay_alliance.app.AppRunner
import com.gin.kotlin.no_gay_alliance.worker.AutoCheckInWorker
import com.gin.kotlin.no_gay_alliance.worker.AutoMissionWorker
import com.gin.kotlin.no_gay_alliance.worker.NoticeUpdateWorker
import com.gin.kotlin.no_gay_alliance.worker.ReplyHistoryCountWorker
import com.gin.kotlin.no_gay_alliance.worker.ReplyHistoryTaskMonitorWorker
import com.gin.kotlin.no_gay_alliance.worker.ReplyHistoryTaskScannerWorker

class WorkerRunner : AppRunner {
    override fun run(app: App) {
        NoticeUpdateWorker.start(10)

        AutoCheckInWorker.start()

        AutoMissionWorker.start()

        ReplyHistoryCountWorker.start()

        ReplyHistoryTaskScannerWorker.start()

        ReplyHistoryTaskMonitorWorker.start(0)
    }
}